package com.zx.oa.entity;

import org.apache.poi.ss.formula.functions.T;

/**
 *班级信息类
 */
public class ClassInfo {
    private int classId;//班级id
    private String className;//班级名称
    private int studyType;//课程专业1 java 2 web 3 UI

    private String major;//专业类型
    public ClassInfo() {
    }

    public ClassInfo(int classId, String className, int studyType) {
        this.classId = classId;
        this.className = className;
        this.studyType = studyType;
    }

    public ClassInfo(int classId, String className,  String major) {
        this.classId = classId;
        this.className = className;
        this.major = major;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public  int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getStudyType() {
        return studyType;
    }

    public void setStudyType(int studyType) {
        this.studyType = studyType;
    }

    @Override
    public String toString() {
        return "ClassInfo{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", studyType=" + studyType +
                ", major='" + major + '\'' +
                '}';
    }

}
